var HelloMessage = React.createClass({
  render: function() {
    return <h2>Hello {this.props.name}!</h2>;
  }
});

React.render(
  <HelloMessage name="John" />,
  document.getElementById('example')
);
